package cn.micro.system.manage.entity;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
/**
 * <p>
 * 定制产品表
 * </p>
 *
 * @author wr
 * @since 2024-01-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class AssetOdsCustomizedProduct implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 定制产品ID
     */
    private Long id;

    /**
     * 产品编号
     */
    private String code;

    /**
     * 产品名称
     */
    private String name;

    /**
     * 产品描述
     */
    private String productDesc;

    /**
     * 产品类型
     */
    private Long typeId;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 预计完成时间
     */
    private LocalDate estimatedFinishedTime;

    /**
     * 实际完成时间
     */
    private LocalDate actualFinishedTime;

    /**
     * 实际费用
     */
    private BigDecimal actualFees;

    /**
     * 状态(0：新建 1：开发中 2：测试中 3已完成)
     */
    private Integer status;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 创建者ID
     */
    private Long createBy;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;

    /**
     * 更新者ID
     */
    private Long updateBy;

    /**
     * 逻辑删除（0：未删除，1：已删除）
     */
    private Integer isDeleted;

    public static final String ID = "id";

    public static final String CODE = "code";

    public static final String NAME = "name";

    public static final String PRODUCT_DESC = "product_desc";

    public static final String TYPE_ID = "type_id";

    public static final String USER_ID = "user_id";

    public static final String ESTIMATED_FINISHED_TIME = "estimated_finished_time";

    public static final String ACTUAL_FINISHED_TIME = "actual_finished_time";

    public static final String ACTUAL_FEES = "actual_fees";

    public static final String STATUS = "status";

    public static final String CREATE_TIME = "create_time";

    public static final String CREATE_BY = "create_by";

    public static final String UPDATE_TIME = "update_time";

    public static final String UPDATE_BY = "update_by";

    public static final String IS_DELETED = "is_deleted";

}
